package cn.intertion.model;

public class wxObj {

    //微信服务域名
    public static String wxip="https://rein.intertion.net";

//    //公众号ID
//    public static String appid = "wx289d1e260a5788ca";
//    //公众号密码
//    public static String apppwd = "f8374054da3c7ed327dd0a7d579180d8";
//    //模板消息  模板ID
//    public static String moudleId = "ZEEE79zntEZwTIElg4bmxyK4dA4LHA86TPszYkp-ufI";



    //公众号ID
    public static String appid = "wx8aa01fd8b70d27ef";
    //公众号密码
    public static String apppwd = "b72db0c7cb0f9cd693df7e247401a1c8";
    //模板消息  模板ID
    public static String moudleId = "2Svx58VCD6ikt6eFqthMM_TTZ-MPYr_FdUZ4NPnI9z4";




    //模板消息跳转URL
    public static String myUrl = "http://rein.intertion.net/login.html";
    //accessToken   2小时刷新一次
    public static String accessToken = "";
    //当前accessToken获取时的时间戳
    public static long tokenDate = 0;

    //JS-SDK票据
    public static String jsSdk = "";


    /**
     * 发送模板消息
     * http请求方式: POST
     */
    public static String http6 = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=";

    /**
     * 获取accessToken
     */
    public static String http0 = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" + appid + "&secret=" + apppwd;
    //#imserver微信登陆地址
    public static String ipinfo = "http://192.168.2.57:8088/w/l?flag=";
    //        ##ipinfo2微信登录域名地址
    public static String ipinfo2 = "https://rein.intertion.net/b/wx/login";


    /**
     * 获取JS-SDK票据
     */
    public static String http1 = "https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=@@@@@&type=jsapi";


}
